//
//  BCProjectDetailDataIntroduction.m
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/12/4.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#import "BCProjectDetailDataIntroduction.h"

@implementation BCProjectDetailDataIntroductionRiskDefine


/**
 将服务器的风险等级模型转换为自定义的
 */
- (BCProjectIntroductionRiskLevelModel *)convertToCustom {
    BCProjectIntroductionRiskLevelModel *model = [BCProjectIntroductionRiskLevelModel new];
    model.risk = self.risk;
    model.level = self.shot;
    model.levelFull = self.title;
    model.levelRule = self.sub_title;
    model.yield = self.desc;
    model.color = self.color;
    return model;
}

@end

@implementation BCProjectDetailDataIntroduction

+ (nullable NSDictionary<NSString *, id> *)modelContainerPropertyGenericClass {
    return @{@"risk_define":BCProjectDetailDataIntroductionRiskDefine.class};
}

@end
